import request from '@/utils/http'

enum API {
  SMS_URL = '/sms/send',
}

/** 获取验证码
 *
 * @param phone {string} 手机号码
 */
export const getSMSsendAPI = (phone: string) => {
  return request({
    url: API.SMS_URL + `/${phone}`,
  })
}
